package com.excellent;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author xinang
 * @date 2020-02-20 20:26
 * 在引导类上添加 @MapperScan 就不需要在每一个 Mapper 文件上添加 Mapper 注解了
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.excellent.item.mapper")
public class ExcellentItemServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExcellentItemServiceApplication.class);
        System.out.println("Item-Service-Application Startup success！！！");
    }
}
